const path = require("path");

module.exports = {
  // 打包模式:1.production生产模式 development开发模式
  mode: "production",
  entry: "./src/hello.js",
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "bundle.js",
  },
};
